#5A811B
Color Details
HEX
#5A811B
RGB
rgb(90, 129, 27)
HSL
hsl(83, 65%, 31%)
CMYK
cmyk(30%, 0%, 79%, 49%)
Best text on this color
#000000 (CR 4.59:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A811B
#5A811B converts to RGB(90, 129, 27) and HSL(83, 65%, 31%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#5A811B FAQs
What is the RGB value of #5A811B?
RGB: 90, 129, 27. Copy as CSS:
rgb(90, 129, 27)
Is #5A811B a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A811B?
Complement: #431c82.
Does #5A811B have good contrast on white or black?
On white: 4.57:1 (AA (normal text)).
On black: 4.59:1 (AA (normal text)).